<?php

define("TH_DBG_ENABLED", TRUE);
define("TH_DBG_ERRLVL", TRUE);
define("TH_DBG_XINIT", TRUE);
//define("TH_DBG_ALLOWED", '127.0.0.1 ::1');
define("TH_DBG_ALLOWED", '*');

require_once 'lib.dbg.php';

xdbg()->info(substr('function relies on the server to provide information about the retrieved data. If the server reports the return data as XML', 0, 64));
xdbg()->info(microtime(TRUE));

//
////$dsn = 'mysql:dbname=jorgens_trest;host=t3h1337.org';
////$user = 'jorgens_trest';
////$password = 'Z6okzVtx';
//$options = array(
////    PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
//);
//$dsn = 'mysql:dbname=t3h1337_test;host=127.0.0.1';
//$user = 'admin';
//$password = '13579';
//
//try {
//    $pdo = new PDO($dsn, $user, $password, $options);
//} catch (PDOException $e) {
//    amber_send_error('dberror', 'Connection failed: ' . $e->getMessage());
//}
//
//$pdo->exec('CREATE TABLE test2(floatval float)');
////xdbg()->info($pdo->errorInfo());
//
//$pdo->exec('INSERT INTO test2 VALUES(2.34)');
//$value=4.56;
//$stmt=$pdo->prepare('INSERT INTO test2 VALUES(:val)');
//$stmt->execute(array(':val' => $value));
//


?>